#pragma once

#include <glm/vec3.hpp>
#include <vector>

namespace DYGraphics
{
	struct _declspec(dllexport) AnimationVec3Key
	{
		float mTime;
		glm::vec3 value;
	};

	class _declspec(dllexport) AnimationVec3Curve
	{
	public:
		AnimationVec3Curve() { }
		void AddKey(float pTime, glm::vec3 pValue);
		glm::vec3 Evaluate(float mTime);
	private:
		std::vector<AnimationVec3Key> mKeys;
	};
}